package examples.zip;

import org.metaworks.dao.IDAO;
import org.metaworks.annotation.ServiceMethod;
import javax.persistence.Id;

public interface IZip extends IDAO{

    @Id
	public String getCode();
	public void setCode(String code);

	public String getAddr1();
	public void setAddr1(String addr1);

	public String getAddr2();
	public void setAddr2(String addr2);



	@ServiceMethod(callByContent=true)
	public void create() throws Exception;

	@ServiceMethod(callByContent=true)
	public void save() throws Exception;

	@ServiceMethod
	public Object find() throws Exception;

	@ServiceMethod
	public void delete() throws Exception;

}